
import {Post,Get} from "@/utils/request/methods";
import { getApplyPolicyFormListParams, GetPolicyListData, GetPolicyListParams } from "./model";

export const getPolicyList=async (params:GetPolicyListParams) =>  Post<GetPolicyListData>({url:"/capital/items/all",params})

export const getApplyPolicyFormList = async (params:getApplyPolicyFormListParams) => Get<any>({url:"/capital/items/legal/apply",params})